/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;


/**
 *
 *
 * @author yzh
 * @date 2021-4-13
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListEquipmentRequest {

    @NotNull(message = "pageIndexRequired")
    @AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
    private Integer pageIndex;

    @NotNull(message = "pageSizeRequired")
    @AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
    private Integer pageSize;

    /**
     * 分类
     */
    private String category;
    /**
     * 编号
     */
    private String equipmentCode;

    /**
     * 仪器设备名称
     */
    private String equipmentName;

    /**
     * 状态：0-停用，1-启用
     */
    private Integer status;
    /**
     * 0-空闲，1-占用
     */
    private Integer occupyStatus;
    /**
     * 应用范围：0-未定义，1-生产，2-研发，3-质检，9-其它
     */
    private Integer scope;

}
